@import'./tools/iconfont.css';
.tool-container{
    padding: 10px 20px;
    background-color: #f8f8f8;
    // margin-top: 20px;
    // border: 1px solid #eeeeee;
    // opacity: ;
    flex: 1;
    .z-select-mask{
        display: none;
        position: fixed;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        width: 100%;
        z-index: 50;
        background-color: rgba(0, 0, 0, 0);
    }
    .icon{
        display: inline-block;
        height: 22px;
        width: 22px;
        line-height: 22px;
        text-align: center;
        cursor: pointer;
        color: rgba(0, 0, 0, 0.8);
        position: relative;
        font-size: 20px;
        margin-right: 5px;
        &:hover {
            background-color: rgba(0, 0, 0, 0.04);
            color: #222;
        }
        .select-container{
            border: 1px solid #eeeeee;
            background-color: #ffffff;
            padding: 10px 10px;
            display: flex;
            flex-direction: column;
            z-index: 100;
            position: absolute;
            border-radius: 3px;
            // background-color: red;
            &::after{
                content: '';
                position: absolute;
                background-color: #ffffff;
                display: block;
                height: 10px;
                width: 10px;
                border-top: 1px solid #eeeeee;
                border-left: 1px solid #eeeeee;
                top: -7px;
                left: calc(50% - 7px);
                transform: rotate(45deg);
            }
            .icon-item{
                display: inline-block;
                font-size: 20px;
            }
            .content {
                display: flex;
            }
            .color-box-container{
                display: inline-block;
                padding: 2px 2px;
                line-height: 0px;
                font-size: 0px;
            }
            .color-box{
                display: inline-block;
                height: 16px;
                width: 16px;
                box-sizing: border-box;
                cursor: pointer;
            }
            .content-group{
                display: flex;
                flex-direction: row;
                padding: 6px 0px 0px 0px;
            }
            .past-group{
                &::before {
                    content: '最近使用';
                    display: block;
                    height: 22px;
                    line-height: 26px;
                    font-size: 14px;
                    text-align: left;
                }
            }
            .z-color-pick-hover-show{
                border-top: 1px solid #eeeeee;
                padding: 10px 0px 0px 0px;
                margin-top: 10px;
                position: relative;
                .z-color-select-option-item{
                    text-align: left;
                    font-size: 12px;
                    line-height: 20px;
                    position: relative;
                    width: calc(100% + 0px);
                    left: -10px;
                    padding: 0px 10px;
                    .icon{
                        font-size: 20px;
                        line-height: 24px;
                        position: relative;
                        top: 2px;
                    }
                    .z-txt{
                        font-size: 12px;
                        line-height: 24px;
                    }
                    &::after{
                        content: '';
                        width: 0;
                        height: 0;
                        border: 5px solid;
                        display: block;
                        border-color: transparent transparent #dddddd;
                        position: absolute;
                        top: 12px;
                        right: 10px;
                        transform: rotate(180deg);
                    }
                    &:hover {
                        background-color: #eeeeee;
                        cursor: pointer;
                    }
                }
                .z-put-color-pick{
                    position: absolute;
                    top: 0px;
                    right: -250px;
                    &:after{
                        content: '';
                        width: 12px;
                        height: 12px;
                        border-top: 1px solid #eeeeee;
                        border-left: 1px solid #eeeeee;
                        background-color: #ffffff;
                        display: block;
                        // border-color: transparent transparent #dddddd;
                        position: absolute;
                        top: 17px;
                        left: -6px;
                        transform: rotate(-45deg);
                    }
                }
            }
        }
    }
}
.test-container {
    display: block;
    position: fixed;
    width: 300px;
    height: 300px;
    left: calc(50% - 150px);
    top:  calc(50% - 150px);
    background-color: #ffffff;
    border-radius: 5px;
    border: 1px  solid #dddddd;
    z-index: 1001;
    padding: 20px 20px;
}